Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Perl and MongoDB

by Theodore (Friar)
on Jul 06, 2020 at 13:21 UTC ( #11118968=perlquestion: print w/replies, xml ) Need Help??

Theodore has asked for the wisdom of the Perl Monks concerning the following question:

As the MongoDB module will soon be EOL, what the Monastery wisdom says about using MongoDB from Perl?

I inherited an in-house (rather critical and very well written) Perl application which uses MongoDB as a back end. Replacing this application with another one is not an option for now.

Should I start looking for another DB to completely replace MongoDB (which is a rather daunting task)? If yes, any suggestions?

Should i try to keep the application working using the last version (2.2.0) of the driver?

Any other suggestions?

Replies are listed 'Best First'.
Re: Perl and MongoDB
by davido (Cardinal) on Jul 06, 2020 at 18:25 UTC

    There's also Mango, with a Mojolicious dependency. But it's not a drop-in replacement, so it's going to be a better fit for you only if you've got reasonable abstractions around your data backing layer.


    Dave

      The application is a Catalyst application. I do have a nice MongoDB model in place and something like that could be useful. But the Mojolicious dependency and the date of Mango's last version (March 2018) are discouraging.
Re: Perl and MongoDB
by perlfan (Vicar) on Jul 06, 2020 at 17:51 UTC
    No, adopt the module! (if it needs to be).

    It seems he might be talking to you when he says, we invite any members of the Perl community who wishes to maintain the driver as a community project to work with us...

    I am willing to bet you'd get some help, if there isn't already a contingent to keep this thing going already. Good luck, level up!

    OTOH, for them to discontinue the module because of their "survey" seems really short sighted, but I can't say much. I don't use their DB either. xD

    Update, there are 108 forks of the repo at the time of this writing. I am sure you can find out who's leading the charge. Again, if there is no one you'd likely get plenty of help. Being a module owner/maintainer is great experience. Individuals who adopt are also held in very high regard by many, myself included. So don't let it go quietly in the night. fight, fight, fight! =D

      This was my first thought, still on the table. Many of the 108 forks look like small personal projects but yes, help could be found.

        The MongoDB Perl Driver is being deprecated:

        "As this process takes place, we invite any members of the Perl community who wishes to maintain the driver as a community project to work with us; the code will be available to fork but we will be looking to evaluate any releases done under the project's name on CPAN."

        Have you done this?

        Rather than trawl so many forks, I'd suggest engaging the audience would be a saner approach. See also mmongodb community, blogs.perl.org.

A reply falls below the community's threshold of quality. You may see it by logging in.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://11118968]
Front-paged by Corion
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (5)
As of 2021-11-28 21:07 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?