Server specification for MapStore

137 views
Skip to first unread message

Magnus Nilsson

unread,
Feb 22, 2021, 7:28:58 AM2/22/21
to mapstore-users

Hi

I´m planning to let our IT department set up a virtual server for MapStore and I am trying to write a specification for them to use. So far, I have:

  • 8 GB RAM, 2 cores
  • Ubuntu 20.04 LTS
  • Java JRE 8
  • Tomcat 7
  • PostgreSQL + PostGIS
  • GeoServer, including a few plugins:
    • authkey
    • WPS
  • MapStore

Am I missing something?

Regards,

Magnus

LosPapillon

unread,
Feb 22, 2021, 8:01:48 AM2/22/21
to mapstore-users
Hi Magnus,

The initial specs seem OK. The amount of memory you'll need depends heavily on the amount of simultaneous users that will call upon services of GeoServer. With regards to Tomcat, we actually use Tomcat 8.5 instead of 7. (not sure why...)

In addition to your mentioned GeoServer modules/extensions:
Kind regards,
LP

Magnus Nilsson

unread,
Feb 22, 2021, 8:28:23 AM2/22/21
to mapstore-users
Thanks LP,  exactly the kind of input I was looking for. The amount of simultaneous users that will call upon services of GeoServer will initially be rather low, perhaps 1-5, so I might start with 8 GB RAM and add more later down the road.

About Tomcat, it seems that Tomcat 7 (mentioned here) will reach end of life soon, so it seems wise to go for a newer version for a new server.

Magnus

Simone Giannecchini

unread,
Feb 22, 2021, 12:54:51 PM2/22/21
to mapstor...@googlegroups.com
Dear Magnus,
a few points:
- GeoServer + MapStore Backend + PostgreSQL on the same box are going to compete for the memory as well as for the CPU so you might not experience very good performance. 
-- 2 cores is quite low but that's ok, things might be slow but should not break
-- be especially careful on the Heap memory you set for MapStore and GeoServer as you definitely don't want to start swapping otherwise everything will be too slow. Maybe 1GB MapStore, 1.5GB GeoServer?
-- ideally with all these things on the same machine I'd recommend 4 Cores and 12 GB of RAM
- you are missing some plugins but someone else has already pointed them out
- I'd go for Tomcat 8
Regards,
Simone Giannecchini
==
GeoServer Professional Services from the experts!
Visit http://bit.ly/gs-services for more information.
==
Ing. Simone Giannecchini
@simogeo
Founder/Director

GeoSolutions S.A.S.
Via di Montramito 3/A
55054  Massarosa (LU)
Italy
phone: +39 0584 962313
fax:     +39 0584 1660272
mob:   +39  333 8128928

http://www.geo-solutions.it
http://twitter.com/geosolutions_it

-------------------------------------------------------
Con riferimento alla normativa sul trattamento dei dati personali (Reg. UE 2016/679 - Regolamento generale sulla protezione dei dati “GDPR”), si precisa che ogni circostanza inerente alla presente email (il suo contenuto, gli eventuali allegati, etc.) è un dato la cui conoscenza è riservata al/i solo/i destinatario/i indicati dallo scrivente. Se il messaggio Le è giunto per errore, è tenuta/o a cancellarlo, ogni altra operazione è illecita. Le sarei comunque grato se potesse darmene notizia.

This email is intended only for the person or entity to which it is addressed and may contain information that is privileged, confidential or otherwise protected from disclosure. We remind that - as provided by European Regulation 2016/679 “GDPR” - copying, dissemination or use of this e-mail or the information herein by anyone other than the intended recipient is prohibited. If you have received this email by mistake, please notify us immediately by telephone or e-mail.


--
You received this message because you are subscribed to the Google Groups "mapstore-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mapstore-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/mapstore-users/56f07c89-2cfd-4ae5-84bc-26c12f567549n%40googlegroups.com.

Magnus Nilsson

unread,
Feb 22, 2021, 1:31:25 PM2/22/21
to mapstore-users
Thanks Simone, great pieces of advice. It seems I´d better go for 16 GB RAM and 4 cores directly from start. I intend to use the server as a demo environment and if my colleagues like it, I might add one more server in order to separate MapStore backend from data storage/services, if that is the recommended path.

Regards,

Magnus
Reply all
Reply to author
Forward
0 new messages