Re: Help on proper method ????



HI,

I do not need to keep syncronistaion of memeory with back end database
becasue data which are pushed are configuration data that never change. There
are not live data but more a predifine message structure base on a
configuration.

Whnen a request is coming, I should be abvle to send back message 1, message
2, or message 3 depending on the request...

SO storing in memory mind be ok, but what do you thing culd be the limit
size for this time solution ?

regards

"msgroup" wrote:

Hi, Serge:

See my inline comments. Analyzing your business requirements, select a
proper way!

Regards,

Do you know batching, asynchrony and parallel computation with online
compression? See the sample project SocketPro at www.udaparts.com


"calderara" <calderara@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:55586CB6-DA81-47CA-AC2F-DD97E6F51B8C@xxxxxxxxxxxxxxxx

OK fine..

Doing this in that way do you think it is better ?
- to read all data from database and store them in memory ready to be push
when request ?.

This is faster, but you may need to write code for synchronizing memory
cache and backend database. Also, you may need to lock the memory cache if
you need to access it from different threads. If your memory cache is too
large, maybe this method is not a proper way.

In short, if you can surely synchronize memory cache and backend
database and memory cache is not too large, this way may be preferred.


- or do you think I should read them from database each time a request is
comming

This way is simpler, but it is slightly slower because a request has to
be sent to a backend database.



thnaks for help
serge
"Spam Catcher" wrote:

=?Utf-8?B?Y2FsZGVyYXJh?= <calderara@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in
news:CCF3D645-CBEA-40D1-BC0F-CDE259F374AC@xxxxxxxxxxxxx:

What do you mean by publisher methode from my applciation side ? is it
just the fact that it send data back to my cllient?

He means to push the events from the server --> client.




.



Relevant Pages

  • Re: Help on proper method ????
    ... you can ping your client from your server. ... I do not need to keep syncronistaion of memeory with back end database ... you may need to lock the memory cache ...
    (microsoft.public.dotnet.framework.remoting)
  • Re: Help on proper method ????
    ... cache and backend database. ... If your memory cache is too ... maybe this method is not a proper way. ... be sent to a backend database. ...
    (microsoft.public.dotnet.framework.remoting)
  • Re: Using SQl to store aspx pages and memory problems
    ... I've seen classic ASP applications design this way that work ... database isn't some sort of magic pixie dust that solves all problems. ... > the memory increases - the slowness of the request could be dealt with by ... >> takes to get the page from SQL Server. ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: URGENT: Application_Start - doesnt fire
    ... Your application start is firing correctly because you can request a page. ... I have>> stopped and started the Web site via IIS Manager. ... This particular Web application connects to a>> database. ...
    (microsoft.public.dotnet.framework.aspnet)
  • RE: Need Help To Create a Function For Parameter Query
    ... >> function up with prompts ... > adds your question and the answers to the database of answers. ... >> I have a query named Status. ... >> Request Date. ...
    (microsoft.public.access.modulesdaovba)