Skip to content

janzyka/blobs-jpa

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Test scenario (Mac OSX)

  1. Run local postgres - testing with H2 in-memory DB doesn't make sense as the blob is stored in-memory
  2. Start app with decent memory limit, like -Xmx50M
  3. Open jvisualvm
  4. Test and watch memory consumption in jvisualvm
mkfile -n 500m /tmp/data.dat
curl -D - -F "file=@/tmp/data.dat" http://localhost:8080/blobs
curl -o /tmp/data.dat.download __Location header from previous command__

About

Working with blobs in Spring + JPA

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages