MathWebSearch / mws

MathWebSearch Implementation
https://search.mathweb.org/
GNU General Public License v3.0
47 stars 12 forks source link

come up with a good URI scheme for our demos and systems. #101

Open kohlhase opened 8 years ago

kohlhase commented 8 years ago

We have http://arxivsearch.mathweb.org and others I think we should have a good URI scheme to make things rememberable. How about

kohlhase commented 7 years ago

This is something we should discuss and do together with @tkw1536. Once we have a concept, then I can do the DNS

tkw1536 commented 7 years ago

In order to find a good structure, can we get a list together where each of the components of the MWS demo(s) are currently running on?

Then we can think we can both think about machine level (what service should run where) as well as domain names (which domain names should be given to which service).

One thing I would recommend in general is to never expose any of the mws instances directly via some (very high) port, but instead run those on the respective localhost interface only and proxy via Apache.

kohlhase commented 7 years ago

For the machine level I think we should have a dedicated MWS VM, which runs one or more index and has various front-ends. Then we can give that machine enough memory. An exception might be pine, which is more integrated with MathHub.info.

I think that the high-port practice was just for experimenting.

tkw1536 commented 7 years ago

I have been trying to come up with a (more or less) complete list of (our) MWS instances, backends as well as machines.

@kohlhase feel free to edit this post to add other instances you are currently aware of. @a-hambasan Is it possible to run instances only listening to localhost:9999 (and not 0.0.0.0:9999)? If not, this should be implemented.

URLs

Servers:

I don't really want to discuss exact server specs on a public github issue.

kohlhase commented 7 years ago

Thanks a lot for the list. I am not aware of more instance, and it shows we really really really need to come up with a maintainable setup and consolidate.

kohlhase commented 7 years ago

I also noticed that the content at http://search.mathweb.org is out of date, and I have no idea how to change it. I guess I probably have to log into opal? This page should probably be somehwhere on GitHub. Probably best to move it to the front page of a MWS wiki (which we had wanted to have for a while).

kohlhase commented 7 years ago

When I think about the URL scheme, I think I like the one we have already started best:

kohlhase commented 7 years ago

And then we should make sure that we have a watchdog that makes sure that all the indexes are kept running (and call for help when something goes wrong. And then we document all of this, so that when the next student comes to adopt MWS, we know where things are and what to tell him/her

a-hambasan commented 7 years ago

@a-hambasan Is it possible to run instances only listening to localhost:9999 (and not 0.0.0.0:9999)? If not, this should be implemented.

No, you can also run instances listening to 0.0.0.0:9999

kohlhase commented 7 years ago

I think you misread the query, Tom wants localhost:9999 instead of 0.0.0.0:9999

Michael

On 23.04.17 15:47, Alexandru Hambasan wrote:

@a-hambasan <https://github.com/a-hambasan> Is it possible to run
instances only listening to localhost:9999 (and not 0.0.0.0:9999)?
If not, this should be implemented.

No, you can also run instances listening to 0.0.0.0:9999

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/KWARC/mws/issues/101#issuecomment-296444501, or mute the thread https://github.com/notifications/unsubscribe-auth/AD2boiwBJlkL3Pl1c2DKqK2RqBhYpihiks5ry1ZagaJpZM4Ia1Ud.

a-hambasan commented 7 years ago

Ah, sorry for that. Yes, you can also run instances listening to localhost:port. However, there might be some problems if the demo is running within a container (i.e. using docker, panamax or similar). But generally speaking, yes, you can have instances listening to localhost:9999.

tkw1536 commented 7 years ago

I would be very much in favour of moving instances as much as possible into docker containers (with appropriate data volumes). This would make it very easy to move them around in the future.

I believe in the docker container it does not matter if it is localhost:9999 or 0.0.0.0:9999, the portforwarding mechanisms should be able to take care of that.

a-hambasan commented 7 years ago

It matters, because you want to listen to all available network interfaces if you are running the demo within the container, not only to the container's interface (that is different from the host interface).