• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Dynamic data management

 
Ranch Hand
Posts: 114
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi

I've a question regarding architecture selection for my project. I need to create something like bwin.com has in live betting. Customers have a page with current options that are changed very fast, admins have a page to change the options. The question is how to implement this to achieve best performance. That's my idea:

Admin has a JSP page with AJAX stuff to add/remove/update things visible on customers side. When he changes anything, it's saved using EJB in db, but also in XML file.

Customers site reads data (every 5 secs, using ajax as well) just from XML file to make sure db is not overloaded. Only when he wants to make an action on given data, double check (with data from db) is made.

What do you thing about this? Is it the fastest solution? Other ideas? Maybe web service for getting data for client?

I think it's very interesting problem, hopefully ranchers will take part in this discussion

Thanks in advance for all tips,
Michal
reply
    Bookmark Topic Watch Topic
  • New Topic