tag:blogger.com,1999:blog-1951542926024108564.post4060808748819740687..comments2024-01-12T19:52:27.760+11:00Comments on The Map Guy(de): Thoughts on MapGuide scalabilityJackie Nghttp://www.blogger.com/profile/14319639645667992869noreply@blogger.comBlogger6125tag:blogger.com,1999:blog-1951542926024108564.post-28016127777357893572014-05-23T02:03:32.044+10:002014-05-23T02:03:32.044+10:00so we got 285 000 hits in one day during the South...so we got 285 000 hits in one day during the South African elections and kinda broke AIMS 2014 :) the map server just stops responding to requests after a while.<br />we followed the best practices guide, and config settings and tried the load balancer setup but the server fails to start with the second site connection IP address.<br />but overall it performed well.<br />check our site at <a href="http://elections.sabc.co.za/Elections2014/ElectionHome.aspx" rel="nofollow">elections.sabc.co.za</a><br /><br />Thanks for all the tips on mapguide :)Anonymoushttps://www.blogger.com/profile/04207923915849508328noreply@blogger.comtag:blogger.com,1999:blog-1951542926024108564.post-50440607749091145762014-03-29T15:07:13.315+11:002014-03-29T15:07:13.315+11:00Hi Julieta,
If your viewers have keep-alive mecha...Hi Julieta,<br /><br />If your viewers have keep-alive mechanisms on (Fusion does, AJAX viewer will only keep-alive if you enabled the setting in the WebLayout), their session dbxml files won't be deleted by the MapGuide Server while the client still has the viewer open, as they will be regularly sending ping requests that tell MapGuide that that particular session is still alive and should not be cleaned up.<br /><br />If you want clients to properly clean themselves up when the browser window closes down instead of waiting for the MapGuide Server to clean up expired sessions, you could look into listening to window.onunload (see: https://developer.mozilla.org/en-US/docs/Web/API/Window.onunload) and have that issue a fire-and-forget AJAX request to a PHP/Java/.net script that calls MgSite.DestroySession() on that session id. This approach may cause problems if you want your client application to re-use the same session id between browser refreshes.<br /><br />Hope that helps.<br /><br />- JackieJackie Nghttps://www.blogger.com/profile/14319639645667992869noreply@blogger.comtag:blogger.com,1999:blog-1951542926024108564.post-9535230800066896222014-03-29T01:59:26.334+11:002014-03-29T01:59:26.334+11:00Hi Jackie,
Is normal that the map server only del...Hi Jackie,<br /><br />Is normal that the map server only delete some repositories?<br />I find in my case only the initiated sessions with Autodesk Infrastructure Studio are cleaned but the sesions initiated by the viewers never die. <br />¿It´s a related theme with the developed application? Because when the clients goes to the navigator and loads a sdf file with my app, a map is created at "the moment".<br />¿I need to add a specific instruction to force the end of the every sesion when the clients close the map? If the answer is yes, how can I do that?<br />I will appreciate very much any comment.<br /><br />Thanks !!<br />Julieta MtzAnonymoushttps://www.blogger.com/profile/15803998385687576841noreply@blogger.comtag:blogger.com,1999:blog-1951542926024108564.post-58704714264656481942014-03-13T22:33:54.372+11:002014-03-13T22:33:54.372+11:00Thanks for the information.
keep up the good work...Thanks for the information. <br />keep up the good work with your blog!Anonymoushttps://www.blogger.com/profile/04207923915849508328noreply@blogger.comtag:blogger.com,1999:blog-1951542926024108564.post-72939152711469575802014-03-12T17:27:59.868+11:002014-03-12T17:27:59.868+11:00MapGuide has (had?) load balancing capabilities, b...MapGuide has (had?) load balancing capabilities, but nobody (not even myself) knows much about it.<br /><br />The only references to load balancing is this wiki article:<br /><br />http://sandbox.mapguide.com/index.php/Pragmatic_Load_Balancing<br /><br />And a small tidbit from the best practices guide<br /><br />http://images.autodesk.com/adsk/files/mapguide_enterprise_implementation_best_practices.pdf<br /><br />If/when I get around to playing around with load balancing in MapGuide, you can be sure I'll be blogging something about it :)Jackie Nghttps://www.blogger.com/profile/14319639645667992869noreply@blogger.comtag:blogger.com,1999:blog-1951542926024108564.post-84204041026623705592014-03-12T17:19:54.513+11:002014-03-12T17:19:54.513+11:00Love your post on scalability of mapguide, i have ...Love your post on scalability of mapguide, i have been using this to setup AIMS 2014.<br /><br />Do you have any other advice regarding scalability?<br /><br />We are utilising AIMS 2014 to visually display live election results during the 2014 South African elections and the site will run on a public domain with a lot of users. Anonymoushttps://www.blogger.com/profile/04207923915849508328noreply@blogger.com