Sign In/My Account | View Cart  

advertisement

AddThis Social Bookmark Button

Article:
  Nukes: the Open Source Java CMS
Subject:   Confused
Date:   2003-06-07 21:45:08
From:   anonymous2
Response to: Confused

we store the user in memory, so it is lightning fast.


accross a cluster we can use a replicated cache. clustered sessions in JBoss use it. that means that when the user is in memory and nukes updates it, the cache detects the field change (by bytecode manipulation) and replicates the change accross the cluster.

Full Threads Oldest First

Showing messages 1 through 3 of 3.

  • Confused
    2003-06-09 05:31:30  anonymous2 [View]

    Is there a way to store user info, etc in memory using PHP?
  • Confused
    2003-06-08 08:26:09  anonymous2 [View]

    So, let's say I've hit machine A in a cluster of 50 machines. What chance is there of me hitting machine J in the same cluster before the session data is replicated to that machine? .1 seconds? .01 seconds? I still have a hard time believing that *all* memory data (figure 500 users at 1k of session data each = 500k) can be replicated across a few dozen machines without there ever being the chance of data not being in sync. It seems like a lot of gyrations to do to get around a central database (which would also help survive power cuts, and which also gives an easier central place to do analysis of user session data from).

    BTW, the reason the *nuke clones are not scaleable is less to do with hitting the database on every request as it is that they don't know when to use the database and when not to.
    • Confused
      2003-12-22 10:26:44  anonymous2 [View]

      Are you also saying that "clustering cannot not work". My be you should phone up Sun, BEA and IBM and tell them the bad news...