Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Jun 30 18:50
    jenkoian synchronize #650
  • Jun 30 18:42
    jenkoian opened #650
  • Apr 05 17:10
    williamdes opened #649
  • Apr 05 16:30
    williamdes commented #311
  • Mar 11 17:22
    Webonaute opened #648
  • Mar 09 10:11
    akerouanton removed as member
  • Mar 09 10:10
    akerouanton added as member
  • Feb 10 07:35
    mo8n removed as member
  • Feb 10 07:34
    mo8n added as member
  • Feb 02 22:30
    chadyred commented #635
  • Feb 02 22:30
    chadyred commented #635
  • Feb 02 22:29
    chadyred commented #635
  • Feb 02 10:17
    jaljo added as member
  • Jan 28 12:11
    rimas-kudelis commented #275
  • Jan 21 18:50
    stof commented #586
  • Dec 30 2020 13:13
    njam closed #284
  • Dec 03 2020 03:16
    IndraGunawan closed #443
  • Nov 23 2020 09:13
    jorenvh1 commented #635
  • Nov 19 2020 07:54
    chrisaligent commented #647
  • Nov 19 2020 07:28
    Nyholm commented #647
Dimitrios Desyllas
@pc-magas
Hello fellows I have some trouble to understand the documentation for configuring the Gaufette fro s3 using Symfony 3.0 framework
Andrew Kovalyov
@akovalyov
hi, which troubles do you experience?
basically the installation should be the same
Dimitrios Desyllas
@pc-magas
Int not issue of Instalation but on How to use the library. As I asked over there: http://stackoverflow.com/questions/35672016/how-to-use-gaufrette-and-symfony-3-0 On the documentation it says that I have to Initiate an new AWS s3 client. But what is the reason to do that If I have an already configured on settings.yml the connection to S3 as described on documentation.
I think on Documentation it needs a Usage Example with Symfony.
Jaime Domínguez
@jdominguezpaz
Hello,
I'm pretty sure this is a recurrent question but... what are the best practices when comes to upload large files to S3 using the awsS3 adapter.
My problem is the memory usage :(
(I'm new at this gitter thing, please excuse me if I'm rude asking directly) :)
Andrew Kovalyov
@akovalyov
hi Jaime and welcome to gitter :)
Jaime Domínguez
@jdominguezpaz
:-)
Andrew Kovalyov
@akovalyov
I assume that you're passing the whole content to write method, right?
for S3 adapter it should work fine if you pass resource (however, I haven't tried it yet and don't have an opportunity to test it right now)
so if you could try it and report if it works, then we can improve some docs and save some time and nerves for Gaufrette users.
Jaime Domínguez
@jdominguezpaz
Yes, I'm quite sure I am passing the whole content (I use the Gaufrette wrapped in a cakephp plugin)

"pass the resource" I will be happy triying but my question is ¿where?

I Think the first memory kaputt-point is in the _storeFile of the abstractListener. Should I try to rewrite that function? or should I try to create a new listener and rewrite the _storeFile in it?

(excuse my english, it's not my native language :) )
(but I believe that the memory-kaputt-point is a pretty descriptive concept :D )
Andrew Kovalyov
@akovalyov
no worries. To be honest, I haven't tried neither cakephp nor gaufrette plugin for that.
Are you talking about this ?
I think, that fopen should be there instead of file_get_contents. If it works, please report it here. I think, in this case we can improve both docs and that plugin.
Jaime Domínguez
@jdominguezpaz
wow, yes. That exact line :)
fopen... ok, i'll try and will be back with the results :)
thanks a lot
Andrew Kovalyov
@akovalyov
my pleasure.
Jaime Domínguez
@jdominguezpaz
I just realize that I was talking about the abstractListener as if it comes with the gaufrette library and you already know it. My bad. Sorry.
I have spent several hours digging from my controller to the burzum library down to the gaufrette and hitting the rock bottom in the aws sdk and i'm messing it all in my mind :)
thank again for your patience :)
Andrew Kovalyov
@akovalyov
no worries, sometimes debugging can be really hard. And I am really interesed to write down all the troubles with memory, because actually it is a common trouble of filesystem abstractions. We are experimenting with ways to fix that, but still it is highly WIP.
Jaime Domínguez
@jdominguezpaz
Win!!! It seems to work!