Meteor Maps, ReactJS

perfect timing

@ydaniel98 we’ve got a few new devs joining in. will you be able to help them feel at home and show them around the project a bit? spartano is helping radu tonight. the others will pop in and say hi here soon hopefully

@spartano off-topic but here’s me in Brăila (i had it on my desktop for something else i’m sending today)

3 Likes

@AndyatFocallocal Just updated the category management section in godmode. Let me know what you think.

Yeah, happy to help.

1 Like

yes, that looks great. does it allow multiple categories to be selected now?

@ydaniel98 good work again on the time/date window. that was a difficult task, and so far the feedback has been good

@AndyatFocallocal It’s working now.

1 Like

@AndyatFocallocal What is the role of moderators going to be? What powers are they gonna have and what can they access?
Also, is the ability to have a UI to remove/ban users crucial? Or would relying on backend access be enough?

@ydaniel98 moderators would get notifications of reported posts and users, and be able to remove/delete them

we could build that into the front end, it’d work nicely into the profile system we’ll be building. or allow them to login to the backend with some fields accessible only to admins and not moderators. tbh, what ever way round you think would be better. perhaps there’s some good code out there already for one of those options

So they will have access to reported events, notifications, and users? If so, the other cards can be hidden/restricted (admin management, and categories).

sure. we’d just need to send an notification to their inbox when someone/something has been reported

…when we build messaging. so plan for that coming feature in the build :slight_smile:

@ydaniel98 @spartano @raduchiriac @mh.kaya @kirstystubbs @henrik @sreeram @Adam

now our team and exposure are growing i’m thinking about how we can get people to upload resources on a much higher scale to what our current setup will allow. i’d like your thoughts on a focused strategy for the next month or two:

  1. i think the answer is to prioritise turning our map into an app ahead of other tasks.

  2. one of the main buttons should take users directly into the ‘add a resource modal windows’ - so that users can open, click and enter every time they see a resource. this needs to be as streamlined as possible

  3. marketing will push the idea that people can help by doing this every time they see a free resource which is useful to people who are homeless. ideally we should get the process down to around 1 minute

  • we should add a simple score to users profiles for each offer/activity posted to incentivise, record and reward their efforts. people like that :slight_smile:
  1. one of our new members suggested, that we can speed things up by creating scripts to pull open lists of resources from other online resources. it doesn’t matter if a few are outdated as users will quickly report them as unavailable and mods can remove them

  2. Pawel says we’ll also need to improve the database and web hosting ready to manage the increased traffic

…

other things:

  • The informal video meetings work well with the time zone difference. How can we make them easier to arrange? a meetings thread on this forum?

  • I’m setting up teams tonight which you can join, so people can tag @webdev to suggest a meeting, @graphicdesign to ask for a help with the layout of something you’re building. etc, etc

Its amazing to have you guys joining me in bringing this to world. thank you, the world needs more hero’s like you! :sunglasses::sunglasses::sunglasses:

Hi, Jason here.

I would start using reverse proxy cache (Varnish), and MariaDB/MySQL cache (memcached) for the database queries. Is this application custom? Or are you using a CMS of some sort? (like Drupal, Wordpress, etc…)

Varnish is the meat of the caching operations. It will prevent Apache from having to generate the same page requests over and over. The difference in speed is very noticeable once configured. Plus you’ll be set for scaling the application servers behind it.

Memcached is the most widely used database cache. You’ll want your application using this for queries between the CMS and database. Low memory won’t be too much of a problem if the same data is being pulled over and over. From first glance, it seems the Google maps API is being used with your own tables?

Whats the average size of these queries?

2 Likes

welcome @Jason thank you for joining us!

1 Like

Thanks @AndyatFocallocal, really respect what you’re doing here.

I noticed the map website responds to Wordpress directory structures, is that what you’re using?

I think I read Ubuntu 14 for the OS?

Getting memcache to work with it is really simple then:

  1. Install memcached on Ubuntu

apt-get update
apt-get upgrade (restart if kernel updates)
apt-get install php5-memcached memcached

  1. Install the W3Cache module for Wordpress, and enable memcache
    https://wordpress.org/plugins/w3-total-cache/

For the devs:
Varnish is a bit trickier, and to have a proper director, you need to separate the dynamic data written to the filesystem by Wordpress (like wp-content/uploads) from the code/static files. This is so you can split it up into multiple Apache instances on the back-end, and keep data that changes on the filesystem consistent across the server array.

Are you guys using git/svn for the website, or administrating it completely through the web interface? This will determine the topology you need for load balancing.

we haven’t sync’d the database with wordpress, but that is the plan in the future so probably someone has begun preparing for them to merge or sync …probably

Do you use a form within Wordpress to enter the data? Or an import of some sort? If the map data is in it’s own database, that’s even better! Don’t merge it!

pretty sure we don’t, but @ydaniel98 or @spartano will be able to confirm