This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Pages: [1]
1
Web Server - Ask For Help / Re: How to spec a Nettalk WebServer
« on: January 24, 2014, 03:19:45 PM »
Hi Bruce,
Oh, so Nettalk 7 already works like an IIS or Apache then? I remember in the earlier days when you mentioned over a hundred will be an issue already because of the spawning. Anyway, my sever application will be responsible for data logging from no more than 500 sites, but will be updating like at intervals of 5-10 secs per site. However, the data payload is no more than 2k bytes. Other than that, some browsing and editing of records. I was thinking if it would be necessary to group the sites in clusters and assigning different ports for each cluster? Although I think the frontend might not really be an issue now as you said but the updating of the backend DB. About 3/4 of the traffic will be updating and reading while the balance will be inserting records.
About your suggestion of using SSD, wont it be necessary to eventually archive or mirror to HDD?
Thanks,
Vic
Oh, so Nettalk 7 already works like an IIS or Apache then? I remember in the earlier days when you mentioned over a hundred will be an issue already because of the spawning. Anyway, my sever application will be responsible for data logging from no more than 500 sites, but will be updating like at intervals of 5-10 secs per site. However, the data payload is no more than 2k bytes. Other than that, some browsing and editing of records. I was thinking if it would be necessary to group the sites in clusters and assigning different ports for each cluster? Although I think the frontend might not really be an issue now as you said but the updating of the backend DB. About 3/4 of the traffic will be updating and reading while the balance will be inserting records.
About your suggestion of using SSD, wont it be necessary to eventually archive or mirror to HDD?
Thanks,
Vic
2
Web Server - Ask For Help / Re: WebServer,Insight2,C8 on Win7 64 bit
« on: December 04, 2012, 09:34:29 PM »
Ok, Ack.
Thanks,
Vic
Thanks,
Vic
3
Web Server - Ask For Help / WebServer,Insight2,C8 on Win7 64 bit
« on: December 04, 2012, 07:15:52 PM »
Hi Bruce,
When I compiled in 64 bit, the graph goes missing, is there any lib in draw or Insight2 that wont run in x86 of win7 64 bit?
Thanks,
Vic
When I compiled in 64 bit, the graph goes missing, is there any lib in draw or Insight2 that wont run in x86 of win7 64 bit?
Thanks,
Vic
4
Web Server - Ask For Help / Re: Dynamic Content
« on: November 22, 2012, 06:24:32 PM »
Bruce,
I finally got it to work using a NetWebSource procedure that I called from another websource. A direct packet send edited outside your xHTML container fails to compile with such error as misused '< >' or '{..}' or literal too long.
Cheers,
Vic
I finally got it to work using a NetWebSource procedure that I called from another websource. A direct packet send edited outside your xHTML container fails to compile with such error as misused '< >' or '{..}' or literal too long.
Cheers,
Vic
5
Web Server - Ask For Help / Re: Dynamic Content
« on: November 22, 2012, 06:03:50 PM »
Bruce,
Will this technique of sending packets be limited to scripts related to updating fields on the page or can I have it jump to another page?
Thanks,
Vic
Will this technique of sending packets be limited to scripts related to updating fields on the page or can I have it jump to another page?
Thanks,
Vic
6
Web Server - Ask For Help / Re: Dynamic Content
« on: November 21, 2012, 11:33:46 PM »
Bruce,
Below is a sample code. Option 1 will stop the update by timer, while Option 2 will auto update.
SQLINQ{PROP:SQL}='SELECT RequestPending FROM TERMFILE Where Idle=2 AND DeviceNO=' & p_web.GetSessionValue('Ctr_No')
NEXT(SQLINQ)
IF NOT Errorcode()
p_web.SetSessionValue('loc:Status',SQLI:F1)
IF p_web.GetSessionValue('loc:Status')=1
p_web.SetSessionValue('SurveyStatus',1)
option 1-> packet= '<table><tr>Please press <a href="Vterm_Select.htm?Status=1"> here to begin </a>'
option 2-> packet= '<table><tr>Please press START button to begin.</tr></table>'
END
Do Sendpacket
END
Thanks,
Vic
Below is a sample code. Option 1 will stop the update by timer, while Option 2 will auto update.
SQLINQ{PROP:SQL}='SELECT RequestPending FROM TERMFILE Where Idle=2 AND DeviceNO=' & p_web.GetSessionValue('Ctr_No')
NEXT(SQLINQ)
IF NOT Errorcode()
p_web.SetSessionValue('loc:Status',SQLI:F1)
IF p_web.GetSessionValue('loc:Status')=1
p_web.SetSessionValue('SurveyStatus',1)
option 1-> packet= '<table><tr>Please press <a href="Vterm_Select.htm?Status=1"> here to begin </a>'
option 2-> packet= '<table><tr>Please press START button to begin.</tr></table>'
END
Do Sendpacket
END
Thanks,
Vic
7
Web Server - Ask For Help / Re: Dynamic Content
« on: November 20, 2012, 09:19:52 PM »
Bruce,
Ok, Got it. However, the timer gets affected and stops auto updating.
Thanks,
Vic
Ok, Got it. However, the timer gets affected and stops auto updating.
Thanks,
Vic
8
Web Server - Ask For Help / Dynamic Content
« on: November 19, 2012, 07:29:35 PM »
Bruce,
I have a couple of questions.
1. Is the Net:f:filename limited to a physical file on the \web folder? Or is it possible to use In-memory driver to make it more dynamic? such as I can enter on the Text property of a display field of a webForm something like '<-- Net:f:' & p_web.GetSessionValue('sessionfile') & ' -->' ?
2. I'm looking for a way to send html thru a field on a form via a websource, however, I want the html script to be dependent on a value of an SQL table field, Is there a way to do it?
Thanks,
Vic
I have a couple of questions.
1. Is the Net:f:filename limited to a physical file on the \web folder? Or is it possible to use In-memory driver to make it more dynamic? such as I can enter on the Text property of a display field of a webForm something like '<-- Net:f:' & p_web.GetSessionValue('sessionfile') & ' -->' ?
2. I'm looking for a way to send html thru a field on a form via a websource, however, I want the html script to be dependent on a value of an SQL table field, Is there a way to do it?
Thanks,
Vic
9
Web Server - Ask For Help / Re: Timer
« on: October 19, 2007, 10:10:59 PM »
Hi,
Is there a way to auto update a browse using a timer?
Thanks for any help,
Vic
Is there a way to auto update a browse using a timer?
Thanks for any help,
Vic
Pages: [1]